package au.com.iglootech.winerymap.entity;

import java.io.Serializable;

import com.google.appengine.api.datastore.Key;

/**
 * 
 * @author Nicholas Zhu
 * 
 */
public interface IGTDomainEntity extends Serializable {
	/**
	 * 
	 * @return key
	 */
	Key getKey();

	/**
	 * 
	 * @param key
	 *            key
	 */
	void setKey(Key key);

	/**
	 * 
	 * @return string of log
	 */
	String toLogString();

	/**
	 * 
	 * @return key
	 */
	Key createBy();
}
